<?php


namespace common\model;

use think\model\RelationModel;

class StepProjectModel extends RelationModel
{
    //自动验证
    protected $_validate = [
    ];

    //自动完成
    protected $_auto = [
        ['created', 'time', self::MODEL_INSERT, 'function'],
        ['updated', 'time', self::MODEL_UPDATE, 'function'],
        ['created_by', 'fill_created_by', self::MODEL_INSERT, 'function'],
        ['updated_by', 'fill_created_by', self::MODEL_UPDATE, 'function'],
    ];

}
